
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src )
LINK_LIBRARIES(${PROJECT_NAME})
IF(OPENCV_VERSION_4)
#ADD_EXECUTABLE(demo_general demo_general.cpp)
ADD_EXECUTABLE(feature_training feature_training.cpp)
#ADD_EXECUTABLE(loop_closure loop_closure.cpp)
#ADD_EXECUTABLE(create_voc_step0 create_voc_step0.cpp)
#ADD_EXECUTABLE(create_voc_step1 create_voc_step1.cpp)
# 参考CmakePractice P13页
#INSTALL(TARGETS  demo_general  create_voc_step0  create_voc_step1 feature_training loop_closure RUNTIME DESTINATION bin)
INSTALL(TARGETS  feature_training  RUNTIME DESTINATION bin)
ENDIF()
